package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Food;

import java.util.List;

public interface FoodService {

    PageResult findpage(QueryPageBean queryPageBean);

    void addFood(Food food);

    Food findFoodById(Integer id);

    void editFood(Food food);

    void deleteFoodById(Integer id);

    void insertFood(List<Food> data);
}
